package de.itagile.hypersphere

class EntityTemplateFactory {
	
	def create(def name, def ePackage, def table, def fields, def relationships) {
		return new EntityTemplate(
				name:name,
				ePackage:ePackage,
				table:table,
				fields:fields,
				relationships:relationships,
				fieldTemplate:new EntityFieldTemplate(),
				relationshipTemplate: new EntityRelationshipTemplate())
	}
}